<div class="bar bar-header bar-positive">
    <h1 class="title">账户登录</h1>
</div>
<div class="list m-top-45 list-inset padding">
    <label class="item item-input">
        <span class="ion-person login-ion"></span>
        <input type="text" placeholder="请输入账号" ng-model="user.username">
    </label>
    <label class="item item-input">
        <span class="ion-locked login-ion"></span>
        <input type="password" placeholder="请输入密码" ng-model="user.password">
    </label>
    <p style="color: red;" ng-show="tip" ng-bind="tip"></p>
</div>
<div class="padding">
    <button class="button button-block button-energized" ng-click="login()">登录</button>
</div>